import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SeqDominionPlayerScoreHelper } from "./SeqDominionPlayerScoreHelper";
type int = number;
//class SDominionPlayerScores
    
    export  class SDominionPlayerScores extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SDominionPlayerScores();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            SeqDominionPlayerScoreHelper.write(arg1, this.playerScores);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.playerScores = SeqDominionPlayerScoreHelper.read(arg1);
            return;
        }

        public /* const */_type: int=2060;

        public /* var */playerScores: Array<any>;

        public static /* var */_regist: SDominionPlayerScores;
    }

            SDominionPlayerScores._regist = new SDominionPlayerScores(true);
        